GIC: Fix Group 0 enabling
authorJeenu Viswambharan <[email protected]>
Tue, 7 Nov 2017 08:38:23 +0000 (08:38 +0000)
committerJeenu Viswambharan <[email protected]>
Mon, 13 Nov 2017 07:49:30 +0000 (07:49 +0000)
commit385f1dbb294b36c5fbdbbf3d10b6cb105239a76e
tree8426ee28b85307e7c9131233d098dadb54c983b5
parent058efeef98315d21f59092c80dd1d24d58008b4d
GIC: Fix Group 0 enabling

At present, the GIC drivers enable Group 0 interrupts only if there are
Secure SPIs listed in the interrupt properties/list. This means that,
even if there are Group 0 SGIs/PPIs configured, the group remained
disabled in the absence of a Group 0 SPI.

Modify both GICv2 and GICv3 SGI/PPI configuration to enable Group 0 when
corresponding SGIs/PPIs are present.

Change-Id: Id123e8aaee0c22b476eebe3800340906d83bbc6d
Signed-off-by: Jeenu Viswambharan <[email protected]>
drivers/arm/gic/v2/gicv2_main.c
drivers/arm/gic/v3/gicv3_helpers.c
drivers/arm/gic/v3/gicv3_main.c
drivers/arm/gic/v3/gicv3_private.h